<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
	<title>电梯安全运行信息监督管理系统</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link rel="stylesheet" type="text/css" href="../css/style.css">
	<script type="text/javascript" src="../js/jquery-1.8.2.js"></script>
	<script type="text/javascript" src="../js/dialog/jquery.artDialog.source.js?skin=default"></script>
	<script type="text/javascript" src="../js/dialog/plugins/iframeTools.source.js"></script>
	<script type="text/javascript" src="../js/jquery.form.js"></script>
	<script type="text/javascript" src="../js/base.js"></script>
	<script type="text/javascript">
		$(function(){
			getcount();
			date();
			$('.menubar').menubar();
			$('.monitorbar li').click(function(){
				$('.menubar dt').removeClass('show');
				$('.menubar dt:eq(0)').addClass('show');
				$('.menubar dd:gt(0)').slideUp(function(){
					$('.menubar dd:eq(0)').slideDown();
				});
			});
		});
		setInterval("date()",1000);
		setInterval("getcount()",10000);
		var add_zero = function(temp){
		 if(temp<10) return "0"+temp;
		 else return temp;
		}
		
		var getcount = function(){
			$.post('get_count.action',function(data){
				$.each($('.monitorbar li'),function(i,n){
					if(data[$(n).attr('id')] > 0 && i > 1){
						$(n).children('a').html('<font color="red">'+data[$(n).attr('id')]+'</font>');
					}else{
						$(n).children('a').html(data[$(n).attr('id')]);
					}
				});
			},'json');
		}
		
		var date = function(){
			var d = new Date();
			 var week;
			 switch (d.getDay()){
				 case 1: week="星期一"; break;
				 case 2: week="星期二"; break;
				 case 3: week="星期三"; break;
				 case 4: week="星期四"; break;
				 case 5: week="星期五"; break;
				 case 6: week="星期六"; break;
				 default: week="星期天";
			 }
			 var years = d.getFullYear();
			 var month = add_zero(d.getMonth()+1);
			 var days = add_zero(d.getDate());
			 var hours = add_zero(d.getHours());
			 var minutes = add_zero(d.getMinutes());
			 var seconds=add_zero(d.getSeconds());
			 var ndate = years+"年"+month+"月"+days+"日 "+hours+":"+minutes+":"+seconds+" "+week;
			$('#date').html(ndate);
		}
	</script>
</head>
<body class="web">
<div class="wrapper">
	<div class="header">
		<div class="logo"></div>
		<ul class="monitorbar">
			<li id="m1"><a href="dtjk/yxztjk.action" target="main">${count.jkdt}</a></li>
			<li id="m2"><a href="dtjk/yxztjk.action?eleStatus=1" target="main">${count.zcdt}</a></li>
			<li id="m3"><a href="dtjk/dqgzxx.action" target="main"><font color="red">${count.gzdt}</font></a></li>
			<li id="m4"><a href="dtjk/dqyjxx.action" target="main"><font color="red">${count.yjdt}</font></a></li>
			<li id="m5"><a href="#" >${count.wbdt}</a></li>
			<li id="m6"><a href="#" >${count.njdt}</a></li>
		</ul>
		<div class="msgbar">
			当前日期：<span id="date"></span> 欢迎Admin登陆，祝您心情愉快！
		</div>
	</div>
	<div class="container">
		<div class="admin_sidebar">
			<dl class="menubar">
				<dt>电梯监控</dt>
				<dd>
					<ul>
						<li><a href="dtjk/yxztjk.action" target="main">运行状态监控</a></li>
						<li><a href="dtjk/dtjk.action" target="main">单梯监控</a></li>
						<li><a href="dtjk/dqgzxx.action" target="main">当前故障信息</a></li>
						<li><a href="dtjk/dqyjxx.action" target="main">当前预警信息</a></li>
						<li><a href="dtjk/jqnjdt.action" target="main">近期年检电梯</a></li>
						<li><a href="dtjk/jqwbdt.action" target="main">近期维保电梯</a></li>
						<li><a href="dtjk/dtdlwz.action" target="main">电梯地理位置</a></li>
					</ul>
				</dd>
				<dt>组织机构管理</dt>
				<dd>
					<ul>
						<li><a href="zzjggl/xzjgdw.action" target="main">行政监管单位</a></li>
						<li><a href="zzjggl/xzjgry.action" target="main">行政监管人员</a></li>
						<li><a href="zzjggl/wygsdw.action" target="main">物业公司单位</a></li>
						<li><a href="zzjggl/wygsry.action" target="main">物业公司人员</a></li>
						<li><a href="zzjggl/wbdw.action" target="main">维保单位</a></li>
						<li><a href="zzjggl/wbdwry.action" target="main">维保单位人员</a></li>
					</ul>
				</dd>
				<dt>电梯管理</dt>
				<dd>
					<ul>
						<li><a href="dtgl/jbxxwh.action" target="main">电梯信息维护</a></li>
						<li><a href="dtgl/dtppwh.action" target="main">电梯品牌维护</a></li>
						<li><a href="dtgl/glznbm.action" target="main">关联职能部门</a></li>
						<li><a href="dtgl/njxxwh.action" target="main">年检计划维护</a></li>
						<li><a href="dtgl/wbxxwh.action" target="main">维保计划维护</a></li>
						<!-- <li><a href="dtgl/simbind.action" target="main">SIM卡绑定</a></li> -->
					</ul>
				</dd>
				<dt>附属设备管理</dt>
				<dd>
					<ul>
						<li><a href="scsbgl/txsbgl.action" target="main">通信设备管理</a></li>
						<li><a href="scsbgl/txsbqr.action" target="main">接收通信设备</a></li>
						<li><a href="scsbgl/jbxxwh.action" target="main">手持卡维护</a></li>
						<li><a href="scsbgl/ffscsb.action" target="main">发放手持卡</a></li>
					</ul>
				</dd>
				<dt>历史信息查询</dt>
				<dd>
					<ul>
						<!-- <li><a href="lsxxcx/lswxxx.action" target="main">历史维修信息</a></li> -->
						<li><a href="lsxxcx/lswbxx.action" target="main">历史维保信息</a></li>
						<li><a href="lsxxcx/lsnjxx.action" target="main">历史年检信息</a></li>
						<li><a href="lsxxcx/lsyjxx.action" target="main">历史预警信息</a></li>
						<li><a href="lsxxcx/lsgzxx.action" target="main">历史故障信息</a></li>
						<li><a href="lsxxcx/lsdxxx.action" target="main">历史短信信息</a></li>
					</ul>
				</dd>
				<dt>数据统计分析</dt>
				<dd>
					<ul>
						<li><a href="sjtjfx/zjgzl.action" target="main">整机故障率</a></li>
						<li><a href="sjtjfx/zhcx.action" target="main">组合查询</a></li>
					</ul>
				</dd>
				<dt>信息发布</dt>
				<dd>
					<ul>
						<li><a href="xxfb/zfgg.action" target="main">政府公告</a></li>
						<li><a href="xxfb/wygg.action" target="main">物业公告</a></li>
						<li><a href="xxfb/xwxx.action" target="main">新闻信息</a></li>
						<!-- <li><a href="#">广告信息</a></li> -->
					</ul>
				</dd>
				<dt>系统审核</dt>
				<dd>
					<ul>
						<li><a href="xtsh/dtzcsh.action" target="main">电梯注册审核</a></li>
						<li><a href="xtsh/bxxx.action" target="main">报修信息</a></li>
						<li><a href="xtsh/tsxx.action" target="main">投诉信息</a></li>
						<li><a href="xtsh/xwxx.action" target="main">新闻信息</a></li>
						<li><a href="xtsh/zfgg.action" target="main">政府公告</a></li>
						<li><a href="xtsh/wygg.action" target="main">物业公告</a></li>
						<!-- <li><a href="#">广告信息</a></li> -->
					</ul>
				</dd>
				<dt>系统维护管理</dt>
				<dd>
					<ul>
						<li><a href="xtwhgl/mmxg.action" target="main">密码修改</a></li>
						<li><a href="xtwhgl/zhgl.action" target="main">账户管理</a></li>
						<li><a href="xtwhgl/mbwh.action" target="main">码表维护</a></li>
						<li><a href="signout.action">注销登录</a></li>
					</ul>
				</dd>
			</dl>
		</div>
		<div class="main">
			<iframe src="welcome.action" name="main" id="main" frameborder="0" width="758" height="530"></iframe>
		</div>
	</div>
	<div class="cl"></div>
	<div class="footer">
		<p>Copy Right&copy;2003 Chenggao Technologies Co.,Ltd&nbsp;&nbsp;&nbsp;版权所有2012-2020 大连诚高科技股份有限公司</p>
		<p>电话：0411-82449900 &nbsp;&nbsp;传真：0411-82449800&nbsp;&nbsp; 邮箱：cg@cg-tech.com &nbsp;&nbsp;地址：大连市西岗区同香街6号&nbsp;&nbsp; 邮编：116001</p> 
	</div>
</div>
</body>
</html>
